<?php
/*
 * 进云智能生成平台
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 */
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
$return['account']=$_SESSION['account'];
$return['extradata']=array();
if($_RQ['op']=='member'){
	if($_SESSION['uid']){
		$nickname=pdo_getcolumn('core_members',array('id'=>$_SESSION['uid']),'nickname');
		$return['nickname']=$nickname;
		$params=array('mid'=>$_SESSION['uid'],'isread'=>0);
		$num=pdo_count('jy_jdpm_notice_log',$params,'id');
		$return['smsnum']=$num;
	}else{
		$return = 0;
	}
	exi($return);
}
?>